log using "~/Dropbox/rainReplication/fstats/revisedFull_iv_stata_4_2.log"

set more off

set mem 1000m
set maxvar 5000  
set matsize 5000

use "~/Dropbox/rainReplication/fstats/covs_4_2.dta", clear  
       
ivreg210 vote_iv d_inc dist_prev midterm pres_party black construction educ minc farmer forborn gvtwkr manuf pop unempld urban retail sos gov comp_cq redistricted dose_prv vote_prv (dose_iv = rain_day rain_day_prev), robust cluster(fe_id_num)

ivreg210 vote_iv d_inc dist_prev midterm pres_party black construction educ minc farmer forborn gvtwkr manuf pop unempld urban retail sos gov comp_cq redistricted dose_prv vote_prv (dose_iv = rain_weekend rain_weekend_prev), robust cluster(fe_id_num)
